package com.mano233.server.po;

import java.util.Date;

/**
 * 事件表
 * @author mano233
 * @date 2019-05-03
 */
public class Events {
    /**
     * 主键
     */
    private Integer eventId;

    /**
     * 事件标题
     */
    private String eventTitle;

    /**
     * 事件类型
     */
    private Integer eventType;

    /**
     * 事件创建时间
     */
    private Date eventCreateTime;

    /**
     * 报名结束时间
     */
    private Date eventDeadTime;

    /**
     * 事件人发布人id
     */
    private Integer eventPublisher;

    /**
     * 事件管理员id
     */
    private Integer eventAdmin;

    /**
     * 事件可报名人数
     */
    private Integer eventMaxSize;

    /**
     * 感兴趣人数
     */
    private Integer eventLikeNum;

    /**
     * 标题图片
     */
    private String imgPath;

    /**
     * 通知类型
     */
    private Integer notifyType;

    /**
     * 事件状态(0:新建状态，1:发布状态，3:不可用)
     */
    private Integer status;

    /**
     * 事件内容(ckeditor)
     */
    private String eventContent;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_id
     *
     * @return the value of events.event_id
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getEventId() {
        return eventId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_id
     *
     * @param eventId the value for events.event_id
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventId(Integer eventId) {
        this.eventId = eventId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_title
     *
     * @return the value of events.event_title
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public String getEventTitle() {
        return eventTitle;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_title
     *
     * @param eventTitle the value for events.event_title
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventTitle(String eventTitle) {
        this.eventTitle = eventTitle == null ? null : eventTitle.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_type
     *
     * @return the value of events.event_type
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getEventType() {
        return eventType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_type
     *
     * @param eventType the value for events.event_type
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventType(Integer eventType) {
        this.eventType = eventType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_create_time
     *
     * @return the value of events.event_create_time
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Date getEventCreateTime() {
        return eventCreateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_create_time
     *
     * @param eventCreateTime the value for events.event_create_time
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventCreateTime(Date eventCreateTime) {
        this.eventCreateTime = eventCreateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_dead_time
     *
     * @return the value of events.event_dead_time
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Date getEventDeadTime() {
        return eventDeadTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_dead_time
     *
     * @param eventDeadTime the value for events.event_dead_time
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventDeadTime(Date eventDeadTime) {
        this.eventDeadTime = eventDeadTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_publisher
     *
     * @return the value of events.event_publisher
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getEventPublisher() {
        return eventPublisher;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_publisher
     *
     * @param eventPublisher the value for events.event_publisher
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventPublisher(Integer eventPublisher) {
        this.eventPublisher = eventPublisher;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_admin
     *
     * @return the value of events.event_admin
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getEventAdmin() {
        return eventAdmin;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_admin
     *
     * @param eventAdmin the value for events.event_admin
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventAdmin(Integer eventAdmin) {
        this.eventAdmin = eventAdmin;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_max_size
     *
     * @return the value of events.event_max_size
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getEventMaxSize() {
        return eventMaxSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_max_size
     *
     * @param eventMaxSize the value for events.event_max_size
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventMaxSize(Integer eventMaxSize) {
        this.eventMaxSize = eventMaxSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_like_num
     *
     * @return the value of events.event_like_num
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getEventLikeNum() {
        return eventLikeNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_like_num
     *
     * @param eventLikeNum the value for events.event_like_num
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventLikeNum(Integer eventLikeNum) {
        this.eventLikeNum = eventLikeNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.img_path
     *
     * @return the value of events.img_path
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public String getImgPath() {
        return imgPath;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.img_path
     *
     * @param imgPath the value for events.img_path
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setImgPath(String imgPath) {
        this.imgPath = imgPath == null ? null : imgPath.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.notify_type
     *
     * @return the value of events.notify_type
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getNotifyType() {
        return notifyType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.notify_type
     *
     * @param notifyType the value for events.notify_type
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setNotifyType(Integer notifyType) {
        this.notifyType = notifyType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.status
     *
     * @return the value of events.status
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.status
     *
     * @param status the value for events.status
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column events.event_content
     *
     * @return the value of events.event_content
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public String getEventContent() {
        return eventContent;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column events.event_content
     *
     * @param eventContent the value for events.event_content
     * @mbg.generated Fri May 03 12:56:29 CST 2019
     */
    public void setEventContent(String eventContent) {
        this.eventContent = eventContent == null ? null : eventContent.trim();
    }
}